package com.quick.service.impl;

import org.springframework.stereotype.Service;

import com.baomidou.dynamic.datasource.toolkit.DynamicDataSourceContextHolder;
import com.quick.db.QuickSource;
import com.quick.service.IUserService;

@Service
public class UserServiceImpl implements IUserService {

	@Override
	public String userLogin(String userName, String password) {
		DynamicDataSourceContextHolder.push(QuickSource.admin);
		DynamicDataSourceContextHolder.clear();
		return null;
	}

}
